<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class HomeController extends Controller
{
    //
    public function index()
    {
        //session()->flash 是laravel框架固定语句，后面括号里的内容是自己定的
        //dd(session());
        session()->flash('success','1231434发放');
        return view ( 'admin.home.index' );
    }
}